const Application = require('thinkjs');
const watcher = require('think-watcher');
const babel = require('think-babel');
const notifier = require('node-notifier');

const instance = new Application({
    ROOT_PATH: __dirname,
    watcher: watcher,
    transpiler: [babel, {
        presets: ['think-node']
    }],
    notifier: notifier.notify.bind(notifier),
    proxy: true, // use proxy
    env: 'production'
});

instance.run();
